import streamlit as st
import tools.mysql

st.set_page_config(
    page_title="AI智能轻笔记",
    page_icon=":memo:",
    layout="wide"
)


nav = st.navigation([
    st.Page("sub_pages/home.py", title="首页"),
    st.Page("sub_pages/note_add.py", title="添加笔记"),
    st.Page("sub_pages/note_list.py", title="笔记列表"),
])
nav.run()
